/*
MQ thrift协议
[vesion] v1.0.0

*/

namespace java common.mq.receiver.thrift


struct TSendMessageResult {
  1: required i32 code,//返回码
  2: required string msg,//返回信息
 
}

struct TMessageInfo {
  1: required string category,//消息类别
  2: required map<string,string> content,//消息 当属性值为bool 只能输入0和1
  3: required string caller,//用户标识

}

service TMQService {

	TSendMessageResult sendMessage(1:TMessageInfo msgInfo),	//发送消息

}
